package com.lemon.datasource.annotation;

import com.lemon.datasource.config.DynamicDataSourceConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author 李猛
 * @datetime 2024/2/18 1:21
 * @description 开启动态数据源
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(DynamicDataSourceConfiguration.class)
public @interface EnableDynamicDataSource {
}
